<?php

class ActionSuggest extends Portlet {

    public $suggest;

    protected function renderContent() {
        if($this->suggest->owner_id == Y::userId() || Y::user()->isModerator()) {
            $this->render("actionSuggest", array("suggest" => $this->suggest));
        }
    }
}
